﻿@{
    Layout = "~/views/Shared/views_Layout.cshtml";
} 
@model FTchinaMVC.Models.UserOperation_log

@{
    ViewBag.Title = "编辑";
}

<h2>编辑</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

 <table class="tableBorder" >

        @Html.HiddenFor(model => model.ID)

           <tr><td>

            @Html.LabelFor(model => model.UserDepartmentID)
        </td><td>
            @Html.EditorFor(model => model.UserDepartmentID)
            @Html.ValidationMessageFor(model => model.UserDepartmentID)
        </td></tr>

           <tr><td>

            @Html.LabelFor(model => model.UserNikeName)
        </td><td>
            @Html.EditorFor(model => model.UserNikeName)
            @Html.ValidationMessageFor(model => model.UserNikeName)
        </td></tr>

           <tr><td>

            @Html.LabelFor(model => model.Controller)
        </td><td>
            @Html.EditorFor(model => model.Controller)
            @Html.ValidationMessageFor(model => model.Controller)
        </td></tr>

           <tr><td>

            @Html.LabelFor(model => model.Action)
        </td><td>
            @Html.EditorFor(model => model.Action)
            @Html.ValidationMessageFor(model => model.Action)
        </td></tr>

           <tr><td>

            @Html.LabelFor(model => model.UserOperation)
        </td><td>
            @Html.EditorFor(model => model.UserOperation)
            @Html.ValidationMessageFor(model => model.UserOperation)
        </td></tr>

           <tr><td>

            @Html.LabelFor(model => model.OperationIP)
        </td><td>
            @Html.EditorFor(model => model.OperationIP)
            @Html.ValidationMessageFor(model => model.OperationIP)
        </td></tr>

           <tr><td>

            @Html.LabelFor(model => model.OperationDate)
        </td><td>
            @Html.EditorFor(model => model.OperationDate)
            @Html.ValidationMessageFor(model => model.OperationDate)
        </td></tr>

       
    </table>
}

<p>
 <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-ok'" href="#" onclick="$('form').submit()">确定</a>
      @Html.ActionLink("取消", "Index", null,
                        new Dictionary<string, object>  {   
							{ "class", "easyui-linkbutton" }, 
                            {"title","返回列表"},
							{"data-options", "plain:true,iconCls:'icon-undo'"} ,
                          	})</p>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
	<script src="/Scripts/easyui/jquery.easyui.min.js"></script>

}
